$def with(param=None,errors=None)
$:render.common.header('登录','index')

<div>
	<form method="post" action="$:{config.app_root}user/login">
	<table>
		<tr>
			<td colspan="2"> <span class="error">${errors and errors['login_error'] or ''}</span></td>
		</tr>
		<tr>
			<td>用户名：</td>
			<td><input type="text" name='login_name' value="${param and param['login_name'] or ''}" /></td>
		</tr>
		<tr>
			<td>密码：</td>
			<td><input type="password" name='password' value="${param and param['password'] or ''}"/></td>
		</tr>
		<tr>
			<td colspan="2" align="right">
				<input type="submit" value="登录" />
				<input type="reset"  value="重置"/>
			</td>
		</tr>
	</table>
	</form>
</div>
		
		
$:render.common.footer()